package xyz.jcat.generator.mybatis.config;

/**
 * 数据库类型枚举
 *
 * @author yueyue
 * @Time 2017-05-16 17:18
 */
public enum DB {

    MYSQL("mysql", "com.mysql.cj.jdbc.Driver");

    private String name;
    private String driverClassName;

    DB(String name, String driverClassName) {
        this.name = name;
        this.driverClassName = driverClassName;
    }

    public String getName() {
        return name;
    }

    public String getDriverClassName() {
        return driverClassName;
    }
}
